package com.nanmeishu.services.tale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel("推荐地图建议分组")
@Data
@TableName("tt_recommend_city_group")
public class RecommendCityGroup {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID (修改时不能为空)")
    private Integer id;
    @ApiModelProperty("是否为系统推荐 0:是 1:否")
    private Integer bySystem;
    @ApiModelProperty("分组名称")
    private String groupName;
    @ApiModelProperty("创建人")
    private String createdName;
    @ApiModelProperty("创建时间")
    private Date createdTime;
    @ApiModelProperty("审核 0:通过 1:未通过")
    private Integer byAudit;
    @ApiModelProperty("分组备注")
    private String groupBr;
    @ApiModelProperty("分组图标")
    private String groupIcon;
    @TableField(exist = false)
    @ApiModelProperty("分组详情列表")
    private List<RecommendCity> recommendCitys;

}
